package STUDENT.DAODUCGIANG.OOPs.INHERISTANCE;

public class Toyota01 {
	String VanhDuc = "Vah duc hop kim 15 inch";
	String DenPha = "Den pha cam bien anh sang";
	String TieuThu = "Tieu thu nhien lieu 3.6;/100km";
	String KhiThai = "Nong do khi thai 99g/km";
}
	class ToyotaiQ1 extends  Toyota01{
		String AmThanh = "Am thanh 6 loa";
		String Den = "Den suong mu";	

	public static void main(String[] args) {
	ToyotaiQ1 ts = new ToyotaiQ1();
	
	System.out.println("Thong so cua xe la: "+ ts.VanhDuc +"; "+ts.DenPha+"; "+ts.AmThanh+"; "+ts.Den  );
	}
	
}

	
	